package com.xnyzc.lhy.common.penum.vehicle;

public enum EBusinessType {

    fast(0,"快车");

    private Integer type;
    private String value;

    EBusinessType(Integer type, String value){
        this.type = type;
        this.value = value;
    }


    public static EBusinessType findById(Integer type){
        EBusinessType eSexType;
        switch (type){
            case 0:
                eSexType  = EBusinessType.fast;
                break;
            default:
                throw new IllegalArgumentException("非法type");
        }
        return eSexType;
    }

    public String getValue() {
        return this.value;
    }
}
